package com.songcha.module_mine.ui.activity.bind_phone

import com.songcha.library_base.mvvm.base.BaseRepository
import com.songcha.library_business.api.ApiManager
import com.songcha.library_network.bean.BaseBean
import com.songcha.library_network.bean.BaseStringDataBean
import com.songcha.module_mine.api.MineApiManager
import io.reactivex.Observable


class BindPhoneRepository:BaseRepository() {

    fun sendVerifyCode(phone:String): Observable<BaseBean> {
        return MineApiManager.api.sendBindPhoneVerifyCode(phone)
    }

    fun changeBindPhone(phone:String,code:String): Observable<BaseBean> {
        return MineApiManager.api.changeBindPhone(phone,code)
    }

}